package com.vast.admin.api.cietac.entity;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @auther zhaohao
 * @date 2021-05-26 12:13 下午
 * @des ProjectPayment作用: 仲裁项目缴费记录
 */
@Data
@NoArgsConstructor
public class ProjectPayment implements Serializable {


	/**
	 * return_receipt : [{"filename":"1617259435(1).jpg","name":"3-1617261007299.jpg","id":10789,"url":"https://arbitration-develop.oss-cn-north-2-gov-1.aliyuncs.com/arbitration/user/3/2021-04-01/3-1617261007299.jpg"}]
	 * amount_paid : 1000
	 * payment_of_voucher : [{"filename":"1617259435(1).jpg","name":"153-1617260947008.jpg","id":10788,"url":"https://arbitration-develop.oss-cn-north-2-gov-1.aliyuncs.com/arbitration/user/153/2021-04-01/153-1617260947008.jpg"}]
	 * balance_after : 1001
	 * paid_time : 2021-04-01 15:09:07
	 * status_value : 已缴费
	 * id : 151
	 * amount_payable : 1000
	 * balance_before : 1
	 * confirm_time : 2021-04-01 15:10:08
	 * status : 3
	 */

	private int amount_paid;
	private int balance_after;
	private String paid_time;
	private String status_value;
	private int id;
	private int amount_payable;
	private int balance_before;
	private String confirm_time;
	private int status;
	private List<AttachmentBean> return_receipt;
	private List<AttachmentBean> payment_of_voucher;

	@Data
	@NoArgsConstructor
	public static class AttachmentBean implements Serializable {
		/**
		 * filename : 1617259435(1).jpg
		 * name : 3-1617261007299.jpg
		 * id : 10789
		 * url : https://arbitration-develop.oss-cn-north-2-gov-1.aliyuncs.com/arbitration/user/3/2021-04-01/3-1617261007299.jpg
		 */

		private String filename;
		private String name;
		private int id;
		private String url;
	}

}
